#pragma once

#include "Object/Object.h"

#include "TestStruct.h"
#include "Containers/Map.h"

#include "TestObject2.m.h"

RCLASS()
class RTestObject2 : public RObject
{
    ROBJECT

public:
    RTestObject2()
    {
        TestStruct.sss=33;

        TestStructMap.Add(0,TestStruct);
        TestStructMap.Add(8,TestStruct);
    }

    RFIELD()
    int s=22;

    RFIELD()
    CString str = U"asfasd";

    RFIELD()
    bool Bool = false;

    RFIELD()
    float Float = .1f;

    RFIELD()
    float Double = .2;

    RFIELD()
    STestStruct TestStruct;

    RFIELD()
    TVector<int> IntArray = { 13,2,2234,15 };

    RFIELD()
    TMap<int,STestStruct> TestStructMap;

    TVector<STestStruct> STRUCTs;


};